package com.aaa.service.impl;

import com.aaa.entity.EduCourse;
import com.aaa.dao.EduCourseMapper;
import com.aaa.service.IEduCourseService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zyd
 * @since 2021-03-24
 */
@Service
public class EduCourseServiceImpl extends ServiceImpl<EduCourseMapper, EduCourse> implements IEduCourseService {
@Resource
private EduCourseMapper mapper;
    @Override
    public Page queryAll(Page page, EduCourse course) {
        return mapper.queryAll(page, course);
    }

    @Override
    public List<Map> loboQuery(Integer status) {
        return mapper.loboQuery(status);
    }
}
